import 'dart:convert';
/// code : 0
/// message : "操作成功"
/// data : ["可乐","薯片"]

RecentNamesListResp recentNamesListRespFromJson(String str) => RecentNamesListResp.fromJson(json.decode(str));
String recentNamesListRespToJson(RecentNamesListResp data) => json.encode(data.toJson());
class RecentNamesListResp {
  RecentNamesListResp({
      this.code, 
      this.message, 
      this.data,});

  RecentNamesListResp.fromJson(dynamic json) {
    code = json['code'];
    message = json['message'];
    data = json['data'] != null ? json['data'].cast<String>() : [];
  }
  num? code;
  String? message;
  List<String>? data;
RecentNamesListResp copyWith({  num? code,
  String? message,
  List<String>? data,
}) => RecentNamesListResp(  code: code ?? this.code,
  message: message ?? this.message,
  data: data ?? this.data,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['code'] = code;
    map['message'] = message;
    map['data'] = data;
    return map;
  }

}